package com.cell.pojo.DTO.user.loginaccount;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class validOldPasswordDTO implements Serializable {
    @NotNull(message = "账户id不能为空")
    /*用户ID*/
    private int userId;
    @NotBlank(message = "密码不能为空")
    /*密码*/
    private String password;
}
